From: Jonh Wendell Date: Mon, 17 Jun 2013 20:12:07 +0000 (-0300) Subject: gdm: clear the messages queue when the user answers a prompt X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4030 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=48f9ea3d9e48614c08df083e43703b1fb9e64765;p=gnome-shell.git gdm: clear the messages queue when the user answers a prompt the messages were being shown even when the user entered the right information they were asked for. https://bugzilla.gnome.org/show_bug.cgi?id=702458 --- diff --git a/js/gdm/util.js b/js/gdm/util.js index 6075e660f..cae3e1b23 100644 --- a/js/gdm/util.js +++ b/js/gdm/util.js @@ -164,6 +164,7 @@ const ShellUserVerifier = new Lang.Class({ answerQuery: function(serviceName, answer) { if (!this._userVerifier.hasPendingMessages) { + this._clearMessageQueue(); this._userVerifier.call_answer_query(serviceName, answer, this._cancellable, null); } else { let signalId = this._userVerifier.connect('no-more-messages',